Optimal. Leaf size=426 \[ \frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}-\frac {b^2 c^3 d \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}-\frac {4 c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {8 b c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{-2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4 b^2 c^3 d \sqrt {d-c^2 d x^2} \text {PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.58, antiderivative size = 426, normalized size of antiderivative = 1.00, number of steps
used = 18, number of rules used = 13, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.448, Rules used = {5928, 5924,
5882, 3799, 2221, 2317, 2438, 5893, 5912, 5920, 99, 12, 54} \begin {gather*} \frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {c x-1} \sqrt {c x+1}}-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {c x-1} \sqrt {c x+1}}-\frac {4 c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 \sqrt {c x-1} \sqrt {c x+1}}-\frac {8 b c^3 d \sqrt {d-c^2 d x^2} \log \left (e^{-2 \cosh ^{-1}(c x)}+1\right ) \left (a+b \cosh ^{-1}(c x)\right )}{3 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}+\frac {4 b^2 c^3 d \sqrt {d-c^2 d x^2} \text {Li}_2\left (-e^{-2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {c x-1} \sqrt {c x+1}}-\frac {b^2 c^3 d \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{3 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 54
Rule 99
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 5882
Rule 5893
Rule 5912
Rule 5920
Rule 5924
Rule 5928
Rubi steps
\begin {align*} \int \frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x^4} \, dx &=-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int \frac {(-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x^4} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {\left (2 b c d \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (-1+c^2 x^2\right ) \left (a+b \cosh ^{-1}(c x)\right )}{x^3} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (c^2 d \sqrt {d-c^2 d x^2}\right ) \int \frac {\sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2}{x^2} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {\left (b^2 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \frac {\sqrt {-1+c x} \sqrt {1+c x}}{x^2} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b c^3 d \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{x} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b c^3 d \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \cosh ^{-1}(c x)}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (c^4 d \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b^2 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \frac {c^2}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\cosh ^{-1}(c x)\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac {4 c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (4 b c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c x)\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (4 b c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b^2 c^4 d \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}-\frac {b^2 c^3 d \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac {4 c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {8 b c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (2 b^2 c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (2 b^2 c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}-\frac {b^2 c^3 d \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac {4 c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {8 b c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (b^2 c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (b^2 c^3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {b^2 c^2 d \sqrt {d-c^2 d x^2}}{3 x}-\frac {b^2 c^3 d \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c d \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {c^2 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{x}+\frac {4 c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d (1-c x) (1+c x) \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{3 x^3}-\frac {c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^3}{3 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {8 b c^3 d \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {4 b^2 c^3 d \sqrt {d-c^2 d x^2} \text {Li}_2\left (-e^{2 \cosh ^{-1}(c x)}\right )}{3 \sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.37, size = 583, normalized size = 1.37 \begin {gather*} \frac {-a b c d^2 x+a b c^2 d^2 x^2-a^2 d^2 \sqrt {\frac {-1+c x}{1+c x}}+5 a^2 c^2 d^2 x^2 \sqrt {\frac {-1+c x}{1+c x}}+b^2 c^2 d^2 x^2 \sqrt {\frac {-1+c x}{1+c x}}-4 a^2 c^4 d^2 x^4 \sqrt {\frac {-1+c x}{1+c x}}-b^2 c^4 d^2 x^4 \sqrt {\frac {-1+c x}{1+c x}}-b d^2 (-1+c x) \left (-3 a c^3 x^3+b \left (-\sqrt {\frac {-1+c x}{1+c x}}-c x \sqrt {\frac {-1+c x}{1+c x}}+4 c^2 x^2 \sqrt {\frac {-1+c x}{1+c x}}+4 c^3 x^3 \left (-1+\sqrt {\frac {-1+c x}{1+c x}}\right )\right )\right ) \cosh ^{-1}(c x)^2+b^2 c^3 d^2 x^3 (-1+c x) \cosh ^{-1}(c x)^3-3 a^2 c^3 d^{3/2} x^3 \sqrt {\frac {-1+c x}{1+c x}} \sqrt {d-c^2 d x^2} \text {ArcTan}\left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )+b d^2 (-1+c x) \cosh ^{-1}(c x) \left (b c x+2 a \sqrt {\frac {-1+c x}{1+c x}} \left (1+c x-4 c^2 x^2-4 c^3 x^3\right )+8 b c^3 x^3 \log \left (1+e^{-2 \cosh ^{-1}(c x)}\right )\right )-8 a b c^3 d^2 x^3 \log (c x)+8 a b c^4 d^2 x^4 \log (c x)-4 b^2 c^3 d^2 x^3 (-1+c x) \text {PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )}{3 x^3 \sqrt {\frac {-1+c x}{1+c x}} \sqrt {d-c^2 d x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(2878\) vs.
\(2(394)=788\).
time = 5.64, size = 2879, normalized size = 6.76
method | result | size |
default | \(\text {Expression too large to display}\) | \(2879\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}}{x^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2\,{\left (d-c^2\,d\,x^2\right )}^{3/2}}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________